package org.gameg.model.biz;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.Version;
import top.ibase4j.core.base.BaseModel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author ShenHuaJie
 * @since 2018-06-25
 */
@ApiModel("")
@TableName("t_jackpot")
@SuppressWarnings("serial")
public class TJackpot extends BaseModel {

    @ApiModelProperty(value = "奖池金额")
	private BigDecimal price;
    @ApiModelProperty(value = "状态：0-开启；1-未开启")
	private String status;
    @ApiModelProperty(value = "起始押注金额")
	@TableField("start_bet")
	private Integer startBet;
    @ApiModelProperty(value = "终止押注金额")
	@TableField("end_bet")
	private Integer endBet;
    @ApiModelProperty(value = "奖励百分比如百分之1 = 1")
	private Double award;
	@ApiModelProperty(value = "用户id")
	@TableField("player_id")
    private Long playerId;
	@Version
	@ApiModelProperty(value = "乐观锁，版本号")
	@TableField("version")
	private Integer version;

	public Long getPlayerId() {
		return playerId;
	}

	public void setPlayerId(Long playerId) {
		this.playerId = playerId;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Integer getStartBet() {
		return startBet;
	}

	public void setStartBet(Integer startBet) {
		this.startBet = startBet;
	}

	public Integer getEndBet() {
		return endBet;
	}

	public void setEndBet(Integer endBet) {
		this.endBet = endBet;
	}

	public Double getAward() {
		return award;
	}

	public void setAward(Double award) {
		this.award = award;
	}

}